#include <stdio.h>

int main(int argc, char* argv[])
{
    unsigned int i = 0;
    printf("%0x\n", (8 - 1));
    printf("%0x\n", (16 - 1));
    printf("%0x\n", (32 - 1));
    printf("%0x\n", (64 - 1));
    for(i = 0; i < 0x10000000; i++)
    {
        //printf("0x%x\n", i);
//        if((i & (8 - 1)) == 0)
//            printf("Byte align 0x%x\n", i);
        if((i & (16 - 1)) == 0)
            printf("Short align 0x%x\n", i);
        if((i & (32 - 1)) == 0)
            printf("long align 0x%x\n", i);
        if((i & (64 - 1)) == 0)
            printf("64bit align 0x%x\n", i);
     }
     return 0;
}

